<?php

use think\migration\Seeder;

use app\admin\model\Admin;

class InitSeeder extends Seeder
{
    /**
     * Run Method.
     *
     * Write your database seeder using this method.
     *
     * More information on writing seeders is available here:
     * http://docs.phinx.org/en/latest/seeding.html
     */
    public function run(): void
    {
        $this->importInitMenus();
        $this->createSuperAdmin();
    }


    protected function createSuperAdmin(): void
    {
        $admin = new Admin();

        $admin->username = 'admin';
        $admin->password = 'catchadmin';
        $admin->email = 'catch@admin.com';
        $admin->creator_id = 1;
        $admin->save();
    }

    protected function importInitMenus()
    {
        importTreeData($this->initMenus());
    }


    protected function initMenus()
    {
        return array (
            0 =>
                array (
                    'id' => 1,
                    'parent_id' => 0,
                    'permission_name' => '权限管理',
                    'route' => '/permission',
                    'icon' => 'arrow-down-on-square-stack',
                    'module' => 'permissions',
                    'permission_mark' => '',
                    'component' => '/web/layout/index.vue',
                    'redirect' => NULL,
                    'keepalive' => 1,
                    'type' => 1,
                    'hidden' => 1,
                    'sort' => 1,
                    'active_menu' => '',
                    'creator_id' => 0,
                    'created_at' => 1670579928,
                    'updated_at' => 1708264137,
                    'deleted_at' => 0,
                    'children' =>
                        array (
                            0 =>
                                array (
                                    'id' => 2,
                                    'parent_id' => 1,
                                    'permission_name' => '角色管理',
                                    'route' => 'roles',
                                    'icon' => 'arrow-left-circle',
                                    'module' => 'permissions',
                                    'permission_mark' => 'Roles',
                                    'component' => '/permissions/roles/index.vue',
                                    'redirect' => NULL,
                                    'keepalive' => 1,
                                    'type' => 2,
                                    'hidden' => 1,
                                    'sort' => 6,
                                    'active_menu' => '',
                                    'creator_id' => 0,
                                    'created_at' => 1670579968,
                                    'updated_at' => 1708264137,
                                    'deleted_at' => 0,
                                    'children' =>
                                        array (
                                            0 =>
                                                array (
                                                    'id' => 3,
                                                    'parent_id' => 2,
                                                    'permission_name' => '列表',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Roles@index',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 1,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671526858,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            1 =>
                                                array (
                                                    'id' => 4,
                                                    'parent_id' => 2,
                                                    'permission_name' => '新增',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Roles@save',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 2,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671526858,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            2 =>
                                                array (
                                                    'id' => 5,
                                                    'parent_id' => 2,
                                                    'permission_name' => '读取',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Roles@read',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 3,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671526858,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            3 =>
                                                array (
                                                    'id' => 6,
                                                    'parent_id' => 2,
                                                    'permission_name' => '更新',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Roles@update',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 4,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671526858,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            4 =>
                                                array (
                                                    'id' => 7,
                                                    'parent_id' => 2,
                                                    'permission_name' => '删除',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Roles@delete',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 5,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671526858,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                        ),
                                ),
                            1 =>
                                array (
                                    'id' => 8,
                                    'parent_id' => 1,
                                    'permission_name' => '菜单管理',
                                    'route' => 'permissions',
                                    'icon' => 'finger-print',
                                    'module' => 'permissions',
                                    'permission_mark' => 'Permissions',
                                    'component' => '/permissions/permissions/index.vue',
                                    'redirect' => NULL,
                                    'keepalive' => 1,
                                    'type' => 2,
                                    'hidden' => 1,
                                    'sort' => 1,
                                    'active_menu' => '',
                                    'creator_id' => 0,
                                    'created_at' => 1670641371,
                                    'updated_at' => 1708264137,
                                    'deleted_at' => 0,
                                    'children' =>
                                        array (
                                            0 =>
                                                array (
                                                    'id' => 9,
                                                    'parent_id' => 8,
                                                    'permission_name' => '列表',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Permissions@index',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 1,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524755,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            1 =>
                                                array (
                                                    'id' => 10,
                                                    'parent_id' => 8,
                                                    'permission_name' => '新增',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Permissions@save',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 2,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524755,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            2 =>
                                                array (
                                                    'id' => 11,
                                                    'parent_id' => 8,
                                                    'permission_name' => '读取',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Permissions@read',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 3,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524755,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            3 =>
                                                array (
                                                    'id' => 12,
                                                    'parent_id' => 8,
                                                    'permission_name' => '更新',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Permissions@update',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 4,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524756,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            4 =>
                                                array (
                                                    'id' => 13,
                                                    'parent_id' => 8,
                                                    'permission_name' => '删除',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Permissions@delete',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 5,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524756,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            5 =>
                                                array (
                                                    'id' => 14,
                                                    'parent_id' => 8,
                                                    'permission_name' => '禁用/启用',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Permissions@enable',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 6,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524756,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                        ),
                                ),
                            2 =>
                                array (
                                    'id' => 15,
                                    'parent_id' => 1,
                                    'permission_name' => '岗位管理',
                                    'route' => 'jobs',
                                    'icon' => 'globe-americas',
                                    'module' => 'permissions',
                                    'permission_mark' => 'Jobs',
                                    'component' => '/permissions/jobs/index.vue',
                                    'redirect' => NULL,
                                    'keepalive' => 1,
                                    'type' => 2,
                                    'hidden' => 1,
                                    'sort' => 1,
                                    'active_menu' => '',
                                    'creator_id' => 0,
                                    'created_at' => 1670641399,
                                    'updated_at' => 1708264137,
                                    'deleted_at' => 0,
                                    'children' =>
                                        array (
                                            0 =>
                                                array (
                                                    'id' => 16,
                                                    'parent_id' => 15,
                                                    'permission_name' => '列表',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Jobs@index',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 1,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524747,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            1 =>
                                                array (
                                                    'id' => 17,
                                                    'parent_id' => 15,
                                                    'permission_name' => '新增',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Jobs@save',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 2,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524747,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            2 =>
                                                array (
                                                    'id' => 18,
                                                    'parent_id' => 15,
                                                    'permission_name' => '读取',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Jobs@read',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 3,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524747,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            3 =>
                                                array (
                                                    'id' => 19,
                                                    'parent_id' => 15,
                                                    'permission_name' => '更新',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Jobs@update',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 4,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524747,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            4 =>
                                                array (
                                                    'id' => 20,
                                                    'parent_id' => 15,
                                                    'permission_name' => '删除',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Jobs@delete',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 5,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524747,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            5 =>
                                                array (
                                                    'id' => 21,
                                                    'parent_id' => 15,
                                                    'permission_name' => '禁用/启用',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Jobs@enable',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 6,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524747,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                        ),
                                ),
                            3 =>
                                array (
                                    'id' => 22,
                                    'parent_id' => 1,
                                    'permission_name' => '部门管理',
                                    'route' => 'departments',
                                    'icon' => 'table-cells',
                                    'module' => 'permissions',
                                    'permission_mark' => 'Departments',
                                    'component' => '/permissions/departments/index.vue',
                                    'redirect' => NULL,
                                    'keepalive' => 1,
                                    'type' => 2,
                                    'hidden' => 1,
                                    'sort' => 1,
                                    'active_menu' => '',
                                    'creator_id' => 0,
                                    'created_at' => 1670641426,
                                    'updated_at' => 1708264137,
                                    'deleted_at' => 0,
                                    'children' =>
                                        array (
                                            0 =>
                                                array (
                                                    'id' => 23,
                                                    'parent_id' => 22,
                                                    'permission_name' => '列表',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Departments@index',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 1,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671501850,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            1 =>
                                                array (
                                                    'id' => 24,
                                                    'parent_id' => 22,
                                                    'permission_name' => '新增',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Departments@save',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 1,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671501861,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            2 =>
                                                array (
                                                    'id' => 25,
                                                    'parent_id' => 22,
                                                    'permission_name' => '读取',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Departments@read',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 1,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671501872,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            3 =>
                                                array (
                                                    'id' => 26,
                                                    'parent_id' => 22,
                                                    'permission_name' => '更新',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Departments@update',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 1,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671517311,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            4 =>
                                                array (
                                                    'id' => 27,
                                                    'parent_id' => 22,
                                                    'permission_name' => '删除',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Departments@delete',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 1,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671517324,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                            5 =>
                                                array (
                                                    'id' => 28,
                                                    'parent_id' => 22,
                                                    'permission_name' => '禁用/启用',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'Departments@enable',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 6,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1671524493,
                                                    'updated_at' => 1708264137,
                                                    'deleted_at' => 0,
                                                ),
                                        ),
                                ),
                            4 =>
                                array (
                                    'id' => 223,
                                    'parent_id' => 1,
                                    'permission_name' => '用户管理',
                                    'route' => 'user',
                                    'icon' => 'users',
                                    'module' => 'permissions',
                                    'permission_mark' => 'user',
                                    'component' => '/user/index.vue',
                                    'redirect' => NULL,
                                    'keepalive' => 1,
                                    'type' => 2,
                                    'hidden' => 1,
                                    'sort' => 1,
                                    'active_menu' => '',
                                    'creator_id' => 1,
                                    'created_at' => 1709342019,
                                    'updated_at' => 1709342019,
                                    'deleted_at' => 0,
                                    'children' =>
                                        array (
                                            0 =>
                                                array (
                                                    'id' => 224,
                                                    'parent_id' => 223,
                                                    'permission_name' => '列表',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'user@index',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 1,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1709373354,
                                                    'updated_at' => 1709373354,
                                                    'deleted_at' => 0,
                                                ),
                                            1 =>
                                                array (
                                                    'id' => 225,
                                                    'parent_id' => 223,
                                                    'permission_name' => '新增',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'user@save',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 2,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1709373354,
                                                    'updated_at' => 1709373354,
                                                    'deleted_at' => 0,
                                                ),
                                            2 =>
                                                array (
                                                    'id' => 226,
                                                    'parent_id' => 223,
                                                    'permission_name' => '读取',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'user@read',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 3,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1709373354,
                                                    'updated_at' => 1709373354,
                                                    'deleted_at' => 0,
                                                ),
                                            3 =>
                                                array (
                                                    'id' => 227,
                                                    'parent_id' => 223,
                                                    'permission_name' => '更新',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'user@update',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 4,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1709373354,
                                                    'updated_at' => 1709373354,
                                                    'deleted_at' => 0,
                                                ),
                                            4 =>
                                                array (
                                                    'id' => 228,
                                                    'parent_id' => 223,
                                                    'permission_name' => '删除',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'user@delete',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 5,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1709373354,
                                                    'updated_at' => 1709373354,
                                                    'deleted_at' => 0,
                                                ),
                                            5 =>
                                                array (
                                                    'id' => 229,
                                                    'parent_id' => 223,
                                                    'permission_name' => '禁用/启用',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'user@enable',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 6,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1709373354,
                                                    'updated_at' => 1709373354,
                                                    'deleted_at' => 0,
                                                ),
                                            6 =>
                                                array (
                                                    'id' => 230,
                                                    'parent_id' => 223,
                                                    'permission_name' => '导出',
                                                    'route' => '',
                                                    'icon' => '',
                                                    'module' => 'permissions',
                                                    'permission_mark' => 'user@export',
                                                    'component' => '',
                                                    'redirect' => '',
                                                    'keepalive' => 1,
                                                    'type' => 3,
                                                    'hidden' => 1,
                                                    'sort' => 10,
                                                    'active_menu' => '',
                                                    'creator_id' => 1,
                                                    'created_at' => 1709373354,
                                                    'updated_at' => 1709373354,
                                                    'deleted_at' => 0,
                                                ),
                                        ),
                                ),
                        ),
                ),
        );

    }
}
